﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Kalkulator
{
    public partial class Form1 : Form
    {

       

        public Form1()
        {
            InitializeComponent();
            
        }

        private void Form1_Load(object sender, EventArgs e)
        {

        }

        private void licz1_Click(object sender, EventArgs e)
        {
            textBox1.AppendText("1");
        }

        private void licz2_Click(object sender, EventArgs e)
        {
            textBox1.AppendText("2");
        }

        private void licz3_Click(object sender, EventArgs e)
        {
            textBox1.AppendText("3");
        }

        private void licz4_Click(object sender, EventArgs e)
        {
            textBox1.AppendText("4");
        }

        private void licz5_Click(object sender, EventArgs e)
        {
            textBox1.AppendText("5");
        }

        private void licz6_Click(object sender, EventArgs e)
        {
            textBox1.AppendText("6");
        }

        private void licz7_Click(object sender, EventArgs e)
        {
            textBox1.AppendText("7");
        }

        private void licz8_Click(object sender, EventArgs e)
        {
            textBox1.AppendText("8");
        }

        private void licz9_Click(object sender, EventArgs e)
        {
            textBox1.AppendText("9");
        }

        private void licz0_Click(object sender, EventArgs e)
        {
            textBox1.AppendText("0");
        }

        private void przecinek_Click(object sender, EventArgs e)
        {
            textBox1.AppendText(",");
        }

        private void kasuj_Click(object sender, EventArgs e)
        {
            textBox1.Text = "";
        }

      
    }
}
